package com.dy;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * ClassName:ReggieApplication
 * Package:com.dy
 * Description:
 *
 * @Date:2022/8/3 15:07
 * @Author:dy
 */
@Slf4j
@SpringBootApplication
@ServletComponentScan  // 定义该注解 才能使用自定义的过滤器 @WebFilter
@EnableTransactionManagement  //开启事务
public class ReggieApplication {

    public static void main(String[] args) {
        SpringApplication.run(ReggieApplication.class,args);
    }


}
